package cn.kimming.wms.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


import lombok.Getter;
import lombok.Setter;

//销售出库订单
public class StockOutcomeBill extends BaseDomain{
	
	/*订单状态常量*/
	public static final int NORMAL = 0;	//未审核
	public static final int AUDIT = 1;	//已审核
	
	@Getter @Setter
	private String sn;	//订单编号
	@Getter @Setter
	private Date vdate;	//业务时间(出库发生的时间)
	@Getter @Setter
	private int status = StockOutcomeBill.NORMAL;	//状态
	@Getter @Setter
	private BigDecimal totalNumber;	//出库总数量
	@Getter @Setter
	private BigDecimal totalAmount;	//出库总金额
	@Getter @Setter
	private Employee inputUser;	//制单人
	@Getter @Setter
	private Date inputTime;	//单据录入时间
	@Getter @Setter
	private Employee auditor;	//审核人
	@Getter @Setter
	private Date auditTime;	//审核时间
	@Getter @Setter
	private Depot depot;	//出库仓库
	@Getter @Setter
	private Client client;	//客户
	
	@Getter @Setter
	private List<StockOutcomeBillItem> items = new ArrayList<>();
	
	
}
